package cn.wolfcode.luowowo.comment.query;

import cn.wolfcode.luowowo.common.query.QueryObject;
import lombok.Getter;
import lombok.Setter;
import org.springframework.util.StringUtils;

@Getter@Setter
public class ScenicspotCommentQuery extends QueryObject {
    private Long scenicspotId = -1L;
    private Boolean hasImg = false;
    private Integer commentType = -1;
    private String keyword;

    public String getKeyword(){
        return StringUtils.hasLength(keyword)?keyword:null;
    }
    private Long userId = -1L;
}
